package com.freesun.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.freesun.shop.entity.Category;

import java.util.List;


/**
 * <p>
 * 产品类目 服务类
 * </p>
 *
 * @author zf
 * @since 2019-11-13
 */
public interface CategoryService extends IService<Category> {

    List<Category> listParent();

    List<Category> getSubNodes(Long parentId);
}
